package com.yurun.mapper;

import com.yurun.entity.VisitLog;
import com.yurun.model.dto.VisitLogUuidTime;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface VisitLogMapper {
    int addVisitLog(VisitLog visitLog);

    int deleteVisitLogById(Long id);

    List<VisitLog> getVisitLogListByUUIDAndDate(String uuid,String startDate,String endDate);

    List<VisitLogUuidTime> getUUIDAndCreateTimeByYesterday();

    int countVisitLogByToday();
}
